iT邦幫忙

2025 iThome 鐵人賽

DAY 19
0

先在item資料夾新增一個ModToolTiers Classhttps://ithelp.ithome.com.tw/upload/images/20251003/201694069nBp5dtXl9.png
這是一個新的工具等級"ruby",它擁有很高的採集等級(5)、中等的耐久度(1500)、中等的採集速度(5f)、不錯的攻擊傷害加成(4f),並且很容易獲得高品質附魔(25)。它被定義為比 Netherite 更高等級的工具材料。

然後就是在ModItems Class內新增ruby toolshttps://ithelp.ithome.com.tw/upload/images/20251003/20169406mY33SAW4qK.png
這邊也定義了他的一些基本屬性(攻擊力、攻擊速度等等)

最後在textures/item裡放上圖片檔案、models/item放上json檔案就可以了https://ithelp.ithome.com.tw/upload/images/20251003/20169406w2lRk60Hvu.png


上一篇
D18:裝備及工具
下一篇
D20:加入裝備
系列文
Minecraft:使用AI工具來創造我的世界吧!23
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言